package com.wz.project.bas.basType.domain;

import com.wz.framework.aspectj.lang.annotation.Excel;
import com.wz.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 类型表对象 bas_type
 * 
 * @author wz
 * @date 2022-02-11
 */
public class BasType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private String typeId;

    /** 主类 */
    @Excel(name = "主类")
    private String parentId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;

    /** 类型值 */
    @Excel(name = "类型值")
    private String typeValue;

    public void setTypeId(String typeId)
    {
        this.typeId = typeId;
    }

    public String getTypeId()
    {
        return typeId;
    }
    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public String getParentId()
    {
        return parentId;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setTypeValue(String typeValue)
    {
        this.typeValue = typeValue;
    }

    public String getTypeValue()
    {
        return typeValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("parentId", getParentId())
            .append("typeName", getTypeName())
            .append("typeValue", getTypeValue())
            .toString();
    }
}
